package com.cw.base.jeeyc.deploy.intf;

import org.springframework.web.bind.annotation.PostMapping;

import com.cw.base.common.model.dto.response.CommonRespDto;
import com.cw.base.jeeyc.deploy.dto.DeployDictItemDto;

/**
 * 数据字典项接口
 *
 * @author chenw
 * @date 2019-08-26 21:21:57
 */
public interface DeployDictItemApi {
    /**
     * 新增数据字典项
     *
     * @param request 条件
     * @return String
     */
    @PostMapping("/addDeployDictItem")
    CommonRespDto<String> addDeployDictItem(DeployDictItemDto request);

    /**
     * 更新数据字典项
     *
     * @param request 条件
     * @return boolean
     */
    @PostMapping("/modifyDeployDictItem")
    CommonRespDto<Boolean> modifyDeployDictItem(DeployDictItemDto request);

    /**
     * 删除数据字典项
     *
     * @param request 条件
     * @return dto
     */
    @PostMapping("deleteDeployDictItem")
    CommonRespDto<Boolean> deleteDeployDictItem(DeployDictItemDto request);
}
